﻿<Window x:Class="PrintServerTables.wndServer"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Add a new Print Server" Height="344" Width="466" WindowStyle="ThreeDBorderWindow" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
    <Grid Width="439" Height="314">
        <Label Content="Server name :" Height="28" HorizontalAlignment="Left" Margin="12,20,0,0" Name="label1" VerticalAlignment="Top" Width="110" Foreground="DarkBlue" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="120,20,0,0" Name="tbServerName" VerticalAlignment="Top" Width="302" Foreground="DarkBlue" TextChanged="tbServerName_TextChanged" LostFocus="tbServerName_LostFocus" />
        <Label Content="Location:" Height="28" HorizontalAlignment="Left" Margin="10,60,0,0" Name="label2" VerticalAlignment="Top" Width="110" Foreground="DarkBlue" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="120,60,0,0" Name="tbLocation" VerticalAlignment="Top" Width="302" Foreground="DarkBlue" />
        <Label Content="Intranet IP" Height="28" HorizontalAlignment="Left" Margin="10,100,0,0" Name="label3" VerticalAlignment="Top" Width="110" Foreground="DarkBlue" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="120,100,0,0" Name="tbIntraIP1" VerticalAlignment="Top" Width="36" Foreground="DarkBlue" MaxLines="1" TextChanged="tbIP_TextChanged" KeyDown="tbIP_KeyDown" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="170,100,0,0" Name="tbIntraIP2" VerticalAlignment="Top" Width="36" Foreground="DarkBlue" TextChanged="tbIP_TextChanged" KeyDown="tbIP_KeyDown" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="220,100,0,0" Name="tbIntraIP3" VerticalAlignment="Top" Width="36" Foreground="DarkBlue" TextChanged="tbIP_TextChanged" KeyDown="tbIP_KeyDown" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="270,100,0,0" Name="tbIntraIP4" VerticalAlignment="Top" Width="36" Foreground="DarkBlue" TextChanged="tbIP_TextChanged" KeyDown="tbIP_KeyDown" />
        <Label Content="Public IP :" Height="28" HorizontalAlignment="Left" Margin="10,140,0,0" Name="label4" VerticalAlignment="Top" Width="110" Foreground="DarkBlue" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="120,140,0,0" Name="tbPublicIP1" VerticalAlignment="Top" Width="36" Foreground="DarkBlue" TextChanged="tbIP_TextChanged" KeyDown="tbIP_KeyDown" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="170,140,0,0" Name="tbPublicIP2" VerticalAlignment="Top" Width="36" Foreground="DarkBlue" TextChanged="tbIP_TextChanged" KeyDown="tbIP_KeyDown" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="220,140,0,0" Name="tbPublicIP3" VerticalAlignment="Top" Width="36" Foreground="DarkBlue" TextChanged="tbIP_TextChanged" KeyDown="tbIP_KeyDown" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="270,140,0,0" Name="tbPublicIP4" VerticalAlignment="Top" Width="36" Foreground="DarkBlue" TextChanged="tbIP_TextChanged" KeyDown="tbIP_KeyDown" />
        <Label Content="Internet address :" Height="28" HorizontalAlignment="Left" Margin="10,180,0,0" Name="label5" VerticalAlignment="Top" Width="110" Foreground="DarkBlue" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="120,180,0,0" Name="tbWebAddress" VerticalAlignment="Top" Width="272" Foreground="DarkBlue" LostFocus="tbWebAddress_LostFocus" />
        <Label Content="Listening Port :" Height="28" HorizontalAlignment="Left" Margin="10,220,0,0" Name="label6" VerticalAlignment="Top" Width="110" Foreground="DarkBlue" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="120,220,0,0" Name="tbPort" VerticalAlignment="Top" Width="72" Foreground="DarkBlue" TextChanged="tbPort_TextChanged" KeyDown="tbIP_KeyDown" />
        <Label Content="=" Height="20" HorizontalAlignment="Left" Margin="154,111,0,0" Name="label7" VerticalAlignment="Top" Width="18" FontFamily="Webdings" FontSize="8" />
        <Label Content="=" FontFamily="Webdings" FontSize="8" Height="20" HorizontalAlignment="Left" Margin="204,111,0,0" Name="label8" VerticalAlignment="Top" Width="18" />
        <Label Content="=" FontFamily="Webdings" FontSize="8" Height="20" HorizontalAlignment="Left" Margin="154,151,0,0" Name="label9" VerticalAlignment="Top" Width="18" />
        <Label Content="=" FontFamily="Webdings" FontSize="8" Height="20" HorizontalAlignment="Left" Margin="254,111,0,0" Name="label10" VerticalAlignment="Top" Width="18" />
        <Label Content="=" FontFamily="Webdings" FontSize="8" Height="20" HorizontalAlignment="Left" Margin="204,151,0,0" Name="label11" VerticalAlignment="Top" Width="18" />
        <Label Content="=" FontFamily="Webdings" FontSize="8" Height="20" HorizontalAlignment="Left" Margin="254,151,0,0" Name="label12" VerticalAlignment="Top" Width="18" />
        <Button Height="27" HorizontalAlignment="Left" Margin="213,265,0,0" Name="btnCancel" VerticalAlignment="Top" Width="85" HorizontalContentAlignment="Left" Click="btnCancel_Click">
            <StackPanel Orientation="Horizontal" Width="70" Height="23" Margin="0,-1,0,0">
                <Image Source="/PrintServerTables;component/Resources/delete2.png" />
                <TextBlock Margin="10,0,0,0" Text="Cancel" Height="18" Width="37" />
            </StackPanel>
        </Button>
        <Button Height="27" HorizontalAlignment="Left" Margin="333,265,0,0" Name="btnOK" VerticalAlignment="Top" Width="85" HorizontalContentAlignment="Left" Click="btnOK_Click">
            <StackPanel Orientation="Horizontal" Width="70" Height="23" Margin="0,-1,0,0">
                <Image Source="/PrintServerTables;component/Resources/check2.png" />
                <TextBlock Margin="15,0,0,0" Text="OK" Height="18" Width="22" />
            </StackPanel>
        </Button>
    </Grid>
</Window>
